#include "MktDataApp.h"

namespace Voice2Fix
{

	void MktDataApp::onCreate( const FIX::SessionID& sessionID )
	{
	}

	void MktDataApp::onLogon( const FIX::SessionID& sessionID )
	{
	}

	void MktDataApp::onLogout( const FIX::SessionID& sessionID )
	{
	}

	void MktDataApp::toAdmin( FIX::Message& message,
		                       const FIX::SessionID& sessionID )
	{
	}
	void MktDataApp::toApp( FIX::Message& message,
		                     const FIX::SessionID& sessionID )
	throw( FIX::DoNotSend )
	{
	}

	void MktDataApp::fromAdmin( const FIX::Message& message,
		                         const FIX::SessionID& sessionID )
	throw( FIX::FieldNotFound, FIX::IncorrectDataFormat, 
		   FIX::IncorrectTagValue, FIX::RejectLogon )
	{
	}

	void MktDataApp::fromApp( const FIX::Message& message,
		                       const FIX::SessionID& sessionID )
	throw( FIX::FieldNotFound, FIX::IncorrectDataFormat, 
		   FIX::IncorrectTagValue, FIX::UnsupportedMessageType )
	{ 
		this.crack( message, sessionID );
	}
}
